package com.szrt.java.day20170103.demo03;


import org.junit.Test;

public class ManagerTest {

	@Test
	public void zhangsao() {
		
		//oop 面向对象编程 Zhangsan sz = new Zhangsan();
		
		//oip 面向接口编程 Manager manageer = new Zhangsan();
		
		Manager manageer = new Zhangsan();
		manageer.core();
		manageer.login();
	}
	
	@Test
	public void lisi() {
		
		Manager manageer = new Lisi();
		manageer.core();
		manageer.login();
	}

}
